<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
	Object user =  session.getAttribute("user");
%>    
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>top</title>
	<link rel="stylesheet" type="text/css" href="static/css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="static/css/top.css" />
</head>

<body>

	<div class="c1">
		ONESTAR-在线医疗管理系统
		<c:if test = "${user!=NULL}"> 
			<span>
				欢迎您，<strong style="color:red;"> <%=user %> </strong>   ！
				<a href="${path}user/logout" target="_parent"><button class="btn btn-info" >退出</button></a>
			</span>
		</c:if>
		<c:if test = "${user==NULL}"> 
			<span><a href="${path}user/logout" target="_parent"><button class="btn btn-success">请登录</button></a></span>
		</c:if>
	</div>
	
	
	
</body>
</html>
